github.com/jackc/pgx/v5.sqlLexer.pos (field)
63 uses
github.com/jackc/pgx/v5 (current package)
named_args.go#L42: pos int
named_args.go#L96: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L97: l.pos += width
named_args.go#L101: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L103: l.pos += width
named_args.go#L111: nextRune, _ := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L113: if l.pos-l.start > 0 {
named_args.go#L114: l.parts = append(l.parts, l.src[l.start:l.pos-width])
named_args.go#L116: l.start = l.pos
named_args.go#L120: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L122: l.pos += width
named_args.go#L126: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L128: l.pos += width
named_args.go#L132: if l.pos-l.start > 0 {
named_args.go#L133: l.parts = append(l.parts, l.src[l.start:l.pos])
named_args.go#L134: l.start = l.pos
named_args.go#L147: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L148: l.pos += width
named_args.go#L151: if l.pos-l.start > 0 {
named_args.go#L152: na := namedArg(l.src[l.start:l.pos])
named_args.go#L157: l.start = l.pos
named_args.go#L161: l.pos -= width
named_args.go#L162: na := namedArg(l.src[l.start:l.pos])
named_args.go#L167: l.start = l.pos
named_args.go#L175: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L176: l.pos += width
named_args.go#L180: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L184: l.pos += width
named_args.go#L186: if l.pos-l.start > 0 {
named_args.go#L187: l.parts = append(l.parts, l.src[l.start:l.pos])
named_args.go#L188: l.start = l.pos
named_args.go#L197: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L198: l.pos += width
named_args.go#L202: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L206: l.pos += width
named_args.go#L208: if l.pos-l.start > 0 {
named_args.go#L209: l.parts = append(l.parts, l.src[l.start:l.pos])
named_args.go#L210: l.start = l.pos
named_args.go#L219: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L220: l.pos += width
named_args.go#L224: _, width = utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L225: l.pos += width
named_args.go#L227: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L231: l.pos += width
named_args.go#L233: if l.pos-l.start > 0 {
named_args.go#L234: l.parts = append(l.parts, l.src[l.start:l.pos])
named_args.go#L235: l.start = l.pos
named_args.go#L244: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L245: l.pos += width
named_args.go#L249: _, width = utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L250: l.pos += width
named_args.go#L254: if l.pos-l.start > 0 {
named_args.go#L255: l.parts = append(l.parts, l.src[l.start:l.pos])
named_args.go#L256: l.start = l.pos
named_args.go#L265: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L266: l.pos += width
named_args.go#L270: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L272: l.pos += width
named_args.go#L276: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L281: l.pos += width
named_args.go#L288: if l.pos-l.start > 0 {
named_args.go#L289: l.parts = append(l.parts, l.src[l.start:l.pos])
named_args.go#L290: l.start = l.pos